﻿using System;
using System.Collections.Generic;

namespace SJ.Platform.TransferTool.DBmodels;

/// <summary>
/// 系统权限
/// </summary>
public partial class SysAuthority
{
    /// <summary>
    /// 主键
    /// </summary>
    public string Id { get; set; } = null!;

    /// <summary>
    /// 父级ID
    /// </summary>
    public string? Pid { get; set; }

    /// <summary>
    /// 权限名称
    /// </summary>
    public string AuthorityName { get; set; } = null!;

    /// <summary>
    /// 权限类型（1=菜单，2=按钮）
    /// </summary>
    public int? AuthorityType { get; set; }

    /// <summary>
    /// 菜单ID
    /// </summary>
    public string? MenuId { get; set; }

    /// <summary>
    /// 添加时间
    /// </summary>
    public DateTime? AddTime { get; set; }

    /// <summary>
    /// 添加人
    /// </summary>
    public string? AddUserId { get; set; }

    /// <summary>
    /// 修改时间
    /// </summary>
    public DateTime? EditTime { get; set; }

    /// <summary>
    /// 修改人
    /// </summary>
    public string? EditUserId { get; set; }
}
